﻿Imports PizzaManiaDAL
' NOTE: If you change the interface name "IService1" here, you must also update the reference to "IService1" in Web.config.
<ServiceContract()> _
Public Interface IService1

    <OperationContract()> _
    Function GetAllCustomers() As IEnumerable(Of Customer)

    <OperationContract()> _
    Function SaveCustomer(ByRef cust As Customer, ByVal isDelete As Boolean) As Boolean

    <OperationContract()> _
    Function SaveCustomers(ByRef updated As CustomerList, ByVal deleted As CustomerList) As Boolean

    <OperationContract()> _
    Function GetOpenOrdersByCustomerID(ByVal customerID As Integer) As IEnumerable(Of Order)

    <OperationContract()> _
    Function GetCustomerByPhoneNumber(ByVal phone As String) As Customer

    ' TODO: Add your service operations here

End Interface


